package com.jzo2o.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jzo2o.customer.model.domain.AgencyCertificationAudit;
import com.jzo2o.customer.model.dto.response.AgencyCertificationAuditResDTO;

import java.util.List;

/**
 * <p>
 * 机构认证审核表 Mapper 接口
 * </p>
 *
 * @author mr.zhao
 * @since 2025-07-01
 */
public interface AgencyCertificationAuditMapper extends BaseMapper<AgencyCertificationAudit> {

	/**
	 * 查询驳回原因
	 * @param userId
	 * @return
	 */
	String getRejectReason(Long userId);

	/**
	 * 分页查询审核信息
	 * @return
	 */
	List<AgencyCertificationAuditResDTO> pageList();
}
